<include file="Public/head" />
</head>
<body>
<include file="Public/common_header" />

<div class="mian">
    <include file="Public/sidebar" menu='xtgl.jtj4sdgl' />
    <form action="/fours/add_bf/bid/{$bid}" method="post"  id="bf">
        <div class="mianR">
            <h3 class="yonghu">集团管理-关联4s店</h3>
            <div class="new-fenzu">
                <dl>
                    <dd>
                        <dd>
                        <em class="clearfix">
                            <foreach name="allfours" item="four">
                                <i><input type="checkbox"  name="fours[]" value="{$four.fid}" <?php echo (in_array($four['fid'], $myspm)?'checked':'');?>  />{$four.f_name}</i>
                            </foreach>
                        </em>
                    </em></dd>
                    </dd>
                </dl>
            </div>
            <div class="yongBtn">
                <input type="button" onclick="return Submit();" value="确定" class="queding" />
                <input name="重置" type="reset" class="quxiao" onclick="history.go(-1);" value="取消" />
            </div>

        </div>
    </form>
    <div class="clear"></div>
</div>
<script>
    function Submit(){
        post_submit_json('bf',function(data){
            //成功回调
            btn_alert("操作成功",1000,function(){
                location.href = document.referrer;
            });
        })    
        return false;
    }

</script>
<include file="Public/foot" />